_Pragma("once")

#include <filesystem>
#include <string>

#include "ExtendDevice.h"


class ExtendHub : public ExtendDevice {
    public:
    static constexpr uint16_t DATA_SLICE_SIZE = 2048;
    static constexpr int HUB_CHANNEL = 255;


    ExtendHub(DummyChannel& channel, const ExtendDeviceType& deviceType, const std::string& deviceActknowlege);

    /** Default destructor */
    ~ExtendHub();

//    bool recheck() noexcept override;


    bool updateFirmware(const std::filesystem::path& filename);


protected:

static const std::string OK;


};
